package com.haierp.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

@TableName("wx_message_list")
public class WxMessageItem implements Serializable{
	
	@TableId(type = IdType.AUTO)
	private Long id;// id
	@TableField(value = "message_id")
	private String messageId;         // 微信消息ID
	@TableField(value = "message_type")
	private String messageType;       // 微信类型
	@TableField(value = "message_content")
	private String messageContent;    // 微信消息内容
	@TableField(value = "from_user_name")
	private String fromUserName;      // 发送人
	@TableField(value = "to_user_name")
	private String toUserName;        // 接收人
	@TableField(value = "is_frient")
	private String isFrient;          // 发送人和接收人之间的关系
	@TableField(value = "login_nick")
	private String loginNick; 		  // 抓取数据的当前账号
	@TableField(value = "send_time")
	private Date sendTime;		      // 消息发送时间
	@TableField(value = "is_sign")
	private Integer isSign;
	@TableField(value = "gmt_create")
	private Date gmtCreate;			  // 创建时间
	@TableField(value = "gmt_modify")
	private Date gmtModify;			  //  修改时间
	
	@TableField(exist = false)
	private String messageTime;
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getMessageId() {
		return messageId;
	}
	public void setMessageId(String messageId) {
		this.messageId = messageId;
	}
	public String getMessageType() {
		return messageType;
	}
	public void setMessageType(String messageType) {
		this.messageType = messageType;
	}
	public String getMessageContent() {
		return messageContent;
	}
	public void setMessageContent(String messageContent) {
		this.messageContent = messageContent;
	}
	public String getFromUserName() {
		return fromUserName;
	}
	public void setFromUserName(String fromUserName) {
		this.fromUserName = fromUserName;
	}
	public String getToUserName() {
		return toUserName;
	}
	public void setToUserName(String toUserName) {
		this.toUserName = toUserName;
	}
	public String getIsFrient() {
		return isFrient;
	}
	public void setIsFrient(String isFrient) {
		this.isFrient = isFrient;
	}
	public String getLoginNick() {
		return loginNick;
	}
	public void setLoginNick(String loginNick) {
		this.loginNick = loginNick;
	}
	
	public Date getSendTime() {
		return sendTime;
	}
	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}
	public Integer getIsSign() {
		return isSign;
	}
	public void setIsSign(Integer isSign) {
		this.isSign = isSign;
	}
	public Date getGmtCreate() {
		return gmtCreate;
	}
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}
	public Date getGmtModify() {
		return gmtModify;
	}
	public void setGmtModify(Date gmtModify) {
		this.gmtModify = gmtModify;
	}
	public String getMessageTime() {
		return messageTime;
	}
	public void setMessageTime(String messageTime) {
		this.messageTime = messageTime;
	}
}
